package com.yjp.service;

import com.yjp.spring.*;

@Component("userService")
//@Scope("prototype")
public class UserService implements UserInterface {
    @Autowired
    private OrderService orderService;
   public void test(){
       System.out.println(orderService);
   }

//    @Override
//    public void setBeanName(String beanName){
//        this.beanName=beanName;
//    }

//    @Override
//    public void afterPropertiesSet(){
//        System.out.println("111");
//    }
}
